<?php
class IndexAction extends BaseAction {
    public function index(){
	    $this->display();
    }

    public function show(){
        $Scorecompare = D('Scorecompare');
        $Count = $Scorecompare->count();
        $this->assign('count',$Count);// 赋值数据集
        $this->display(); // 输出模板
    }

    public function  union(){
        $TeacherView = D('TeacherView');
        $List = $TeacherView->limit(10)->select();
        dump($List);
        die();
    }
}